__all__ = ['Storage']
from .dbentity import *
class Storage(DbEntity):

    def __call__(self, data):# final???
        return self.fulfil(data)

    def fulfil(self, fetcher):
        return self.insert(self.adapt(fetcher))


    def drop(self):
        raise NotImplementedError

    def create(self):
        raise NotImplementedError

    def insert(self, rows):
        raise NotImplementedError

    def analyze(self):
        raise NotImplementedError


    def adapt(self, fetcher):
        raise NotImplementedError
